package com.jia.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 退还押金记录
 * @TableName t_deposit_user
 */
@TableName(value ="t_deposit_user")
@Data
public class DepositUser implements Serializable {
    /**
     * 退还押金中间表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户表id
     */
    @TableField(value = "uid")
    private Integer uid;

    /**
     * 退还押金额度
     */
    @TableField(value = "amount")
    private BigDecimal amount;

    /**
     * 退还时间
     */
    @TableField(value = "createtime")
    private Date createtime;

    /**
     * 修改时间
     */
    @TableField(value = "updatetime")
    private Date updatetime;

    /**
     * 0:已退还1:没退还
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 
     */
    @TableField(value = "r")
    private String r;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}